package com.koi;

import com.koi.desensitize.anno.EnableKoiDesensitize;
import com.koi.dict.anno.EnableKoiDict;
import com.koi.easyexcel.anno.EnableKoiEasyExcel;
import com.koi.limit.anno.EnableKoiLimit;
import com.koi.logs.anno.EnableKoiLogs;
import com.koi.plus.anno.EnableMybatisPlus;
import com.koi.repect.anno.EnableKoiRepeatSubmit;
import com.koi.resultex.anno.EnableResultEx;
import com.koi.satoken.anno.EnableKoiSaToken;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author ･ᴗ･
 * @description [KOI-ADMIN管理平台启动类]
 * @Enable 开头的注解是一个插件插入的开关，如果不是相同目录级别的可以使用这个进行跨包!
 */
@EnableKoiSaToken
@EnableKoiEasyExcel
@EnableKoiDesensitize
@EnableKoiRepeatSubmit
@EnableKoiLimit
@EnableMybatisPlus
@EnableResultEx
@EnableKoiLogs
@EnableKoiDict
@Slf4j
@SpringBootApplication
public class KoiAdminApplication {

    public static void main(String[] args) {
        /*  注意：注入依赖三种选择：@Autowired(required = false) OR @Resource[推荐] OR @RequiredArgsConstructor[推荐] */
        SpringApplication.run(KoiAdminApplication.class, args);
        log.info(
                    "\n" +
                    "Koi-Admin管理平台starter =>ヽ(✿ﾟ▽ﾟ)ノ                                                 \n" +
                    "超级无敌宇宙最强最帅最可爱系统启动成功(๑‾ ꇴ ‾๑)                                             \n" +
                    " ____  __.     .__             _____  ________      _____  .___ _______              \n" +
                    "|    |/ _|____ |__|           /  _  \\ \\______ \\    /     \\ |   |\\      \\       \n" +
                    "|      < /  _ \\|  |  ______  /  /_\\  \\ |    |  \\  /  \\ /  \\|   |/   |   \\     \n" +
                    "|    |  (  <_> )  | /_____/ /    |    \\|    `   \\/    Y    \\   /    |    \\       \n" +
                    "|____|__ \\____/|__|         \\____|__  /_______  /\\____|__  /___\\____|__  /       \n" +
                    "        \\/                          \\/        \\/         \\/            \\/       \n" +
                    "KoiAdminApplication[8088] => 超级美少女闪亮登场(๑•̀ㅂ•́) ✧"
        );
    }

}
